	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function irnet_connect_confirm
_irnet_connect_confirm:                 ## @irnet_connect_confirm
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%r8d, %r13d
	movq	%rcx, %r12
	movq	%rdi, %rbx
	movq	_IRDA_TCB_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_DENTER
	leaq	16(%rbx), %r15
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	%r13d, 48(%rbx)
	movq	%r12, 40(%rbx)
	movq	%r12, 32(%rbx)
	movl	24(%rbx), %edi
	callq	_irttp_get_saddr
	movl	%eax, 8(%rbx)
	leaq	20(%rbx), %rsi
	xorl	%edi, %edi
	callq	_set_bit
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_clear_bit
	leaq	12(%rbx), %rdi
	callq	_ppp_output_wakeup
	cmpq	$0, (%r14)
	jle	LBB0_3
## %bb.2:
	movq	_IRDA_CB_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_DERROR
LBB0_3:
	movq	%r14, %rdi
	callq	_kfree_skb
	movq	_IRNET_CONNECT_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	callq	_irnet_post_event
	movq	_IRDA_TCB_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DEXIT                          ## TAILCALL
LBB0_4:
	movq	_IRDA_CB_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DERROR                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IRDA_TCB_TRACE,4,2             ## @IRDA_TCB_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(self=0x%p)\n"

	.comm	_IRDA_CB_ERROR,4,2              ## @IRDA_CB_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Socket no longer connecting. Ouch !\n"

L_.str.2:                               ## @.str.2
	.asciz	"Dropping non empty packet.\n"

	.comm	_IRNET_CONNECT_TO,4,2           ## @IRNET_CONNECT_TO
L_.str.3:                               ## @.str.3
	.asciz	"\n"

	.comm	_IRDA_CB_INFO,4,2               ## @IRDA_CB_INFO
	.no_dead_strip	_irnet_connect_confirm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function irnet_connect_confirm
_irnet_connect_confirm:                 ; @irnet_connect_confirm
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x5
	mov	x23, x4
	mov	x22, x3
	mov	x19, x0
Lloh0:
	adrp	x24, _IRDA_TCB_TRACE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _IRDA_TCB_TRACE@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_DENTER
	add	x21, x19, #16
	mov	w0, #0
	mov	x1, x21
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.1:
	str	w23, [x19, #48]
	stp	x22, x22, [x19, #32]
	ldr	w0, [x19, #24]
	bl	_irttp_get_saddr
	str	w0, [x19, #8]
	add	x1, x19, #20
	mov	w0, #0
	bl	_set_bit
	mov	w0, #0
	mov	x1, x21
	bl	_clear_bit
	add	x0, x19, #12
	bl	_ppp_output_wakeup
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.2:
Lloh4:
	adrp	x8, _IRDA_CB_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IRDA_CB_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DERROR
LBB0_3:
	mov	x0, x20
	bl	_kfree_skb
Lloh9:
	adrp	x8, _IRNET_CONNECT_TO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRNET_CONNECT_TO@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldp	w3, w2, [x19, #4]
	ldr	w4, [x19]
	mov	x0, x19
	mov	w5, #0
	bl	_irnet_post_event
	ldr	w0, [x24]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_DEXIT
LBB0_4:
Lloh14:
	adrp	x8, _IRDA_CB_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRDA_CB_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_DERROR
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IRDA_TCB_TRACE,4,2             ; @IRDA_TCB_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(self=0x%p)\n"

	.comm	_IRDA_CB_ERROR,4,2              ; @IRDA_CB_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Socket no longer connecting. Ouch !\n"

l_.str.2:                               ; @.str.2
	.asciz	"Dropping non empty packet.\n"

	.comm	_IRNET_CONNECT_TO,4,2           ; @IRNET_CONNECT_TO
l_.str.3:                               ; @.str.3
	.asciz	"\n"

	.comm	_IRDA_CB_INFO,4,2               ; @IRDA_CB_INFO
	.no_dead_strip	_irnet_connect_confirm
.subsections_via_symbols
