	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dial
_dial:                                  ## @dial
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_IS_VALID_CARD
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-96(%rbp), %r15
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_strcpy
	movq	_CEPID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	_ceReqTypePhy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	_ceReqClass1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	_ceReqPhyConnect@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leal	1(%r14), %r13d
	movq	%r15, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movzbl	%r13b, %r9d
	movl	%ebx, %edi
	movl	-108(%rbp), %esi                ## 4-byte Reload
	movl	-104(%rbp), %edx                ## 4-byte Reload
	movl	-100(%rbp), %ecx                ## 4-byte Reload
	movl	%r12d, %r8d
	pushq	%r15
	pushq	%rax
	callq	_sendmessage
	addq	$16, %rsp
	movl	%eax, %r12d
	movq	_sc_adapter@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %esi
	incq	%r14
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rdx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_pr_debug
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%r12d, %r12d
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid param: %d is not a valid card id\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_CEPID,4,2                      ## @CEPID
	.comm	_ceReqTypePhy,4,2               ## @ceReqTypePhy
	.comm	_ceReqClass1,4,2                ## @ceReqClass1
	.comm	_ceReqPhyConnect,4,2            ## @ceReqPhyConnect
L_.str.1:                               ## @.str.1
	.asciz	"%s: Dialing %s on channel %lu\n"

	.comm	_sc_adapter,8,3                 ## @sc_adapter
	.no_dead_strip	_dial
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dial
_dial:                                  ; @dial
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	bl	_IS_VALID_CARD
	cbz	w0, LBB0_2
; %bb.1:
	add	x25, sp, #24
	add	x0, sp, #24
	mov	x1, x21
	bl	_strcpy
Lloh3:
	adrp	x8, _CEPID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CEPID@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _ceReqTypePhy@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ceReqTypePhy@GOTPAGEOFF]
Lloh8:
	adrp	x9, _ceReqClass1@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ceReqClass1@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
Lloh11:
	ldr	w23, [x9]
Lloh12:
	adrp	x8, _ceReqPhyConnect@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ceReqPhyConnect@GOTPAGEOFF]
Lloh14:
	ldr	w24, [x8]
	add	w26, w20, #1
	add	x0, sp, #24
	bl	_strlen
	mov	x6, x0
	and	w5, w26, #0xff
	add	x7, sp, #24
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_sendmessage
	mov	x21, x0
Lloh15:
	adrp	x8, _sc_adapter@GOTPAGE
Lloh16:
	ldr	x8, [x8, _sc_adapter@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x8, [x8, w19, sxtw #3]
	ldr	w1, [x8]
	add	x8, x20, #1
	stp	x25, x8, [sp]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	b	LBB0_3
LBB0_2:
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_pr_debug
Lloh22:
	adrp	x8, _ENODEV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_3:
	ldr	x8, [sp, #72]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x21
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid param: %d is not a valid card id\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_CEPID,4,2                      ; @CEPID
	.comm	_ceReqTypePhy,4,2               ; @ceReqTypePhy
	.comm	_ceReqClass1,4,2                ; @ceReqClass1
	.comm	_ceReqPhyConnect,4,2            ; @ceReqPhyConnect
l_.str.1:                               ; @.str.1
	.asciz	"%s: Dialing %s on channel %lu\n"

	.comm	_sc_adapter,8,3                 ; @sc_adapter
	.no_dead_strip	_dial
.subsections_via_symbols
