	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l2cap_write_auto_disconnect_timeout
_l2cap_write_auto_disconnect_timeout:   ## @l2cap_write_auto_disconnect_timeout
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movl	%edi, %r14d
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	cmpl	$1, %ebx
	jne	LBB0_1
## %bb.2:
	movq	(%r15), %rdi
	callq	_atoi
	movl	%eax, -32(%rbp)
	movq	_SIOC_L2CAP_NODE_SET_AUTO_DISCON_TIMO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movl	%r14d, %edi
	movl	$4, %ecx
	callq	_ioctl
	testq	%rax, %rax
	jns	LBB0_3
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_USAGE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_OK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USAGE,4,2                      ## @USAGE
	.comm	_SIOC_L2CAP_NODE_SET_AUTO_DISCON_TIMO,4,2 ## @SIOC_L2CAP_NODE_SET_AUTO_DISCON_TIMO
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_OK,4,2                         ## @OK
	.no_dead_strip	_l2cap_write_auto_disconnect_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l2cap_write_auto_disconnect_timeout
_l2cap_write_auto_disconnect_timeout:   ; @l2cap_write_auto_disconnect_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	cmp	w21, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x20]
	bl	_atoi
	str	w0, [sp, #8]
Lloh0:
	adrp	x8, _SIOC_L2CAP_NODE_SET_AUTO_DISCON_TIMO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIOC_L2CAP_NODE_SET_AUTO_DISCON_TIMO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #4
	bl	_ioctl
Lloh3:
	adrp	x8, _OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OK@GOTPAGEOFF]
Lloh5:
	adrp	x9, _ERROR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ERROR@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, lt
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _USAGE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _USAGE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_USAGE,4,2                      ; @USAGE
	.comm	_SIOC_L2CAP_NODE_SET_AUTO_DISCON_TIMO,4,2 ; @SIOC_L2CAP_NODE_SET_AUTO_DISCON_TIMO
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_OK,4,2                         ; @OK
	.no_dead_strip	_l2cap_write_auto_disconnect_timeout
.subsections_via_symbols
