	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ioctl_send_broadcast_request
_ioctl_send_broadcast_request:          ## @ioctl_send_broadcast_request
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_1
## %bb.3:
	movq	_CSR_REGISTER_BASE@GOTPCREL(%rip), %rax
	movq	_CSR_CONFIG_ROM_END@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	cmpq	%rcx, 8(%rsi)
	jge	LBB0_5
## %bb.4:
	movq	_EACCES@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_LOCAL_BUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	$63, %edx
	movq	_SCODE_100@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	popq	%rbp
	jmp	_init_request                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CSR_REGISTER_BASE,8,3          ## @CSR_REGISTER_BASE
	.comm	_CSR_CONFIG_ROM_END,8,3         ## @CSR_CONFIG_ROM_END
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_LOCAL_BUS,4,2                  ## @LOCAL_BUS
	.comm	_SCODE_100,4,2                  ## @SCODE_100
	.no_dead_strip	_ioctl_send_broadcast_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ioctl_send_broadcast_request
_ioctl_send_broadcast_request:          ; @ioctl_send_broadcast_request
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x9, _CSR_REGISTER_BASE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CSR_REGISTER_BASE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _CSR_CONFIG_ROM_END@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CSR_CONFIG_ROM_END@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x9, x10, x9
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _EACCES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_5:
Lloh10:
	adrp	x8, _LOCAL_BUS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LOCAL_BUS@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _SCODE_100@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SCODE_100@GOTPAGEOFF]
	orr	w2, w8, #0x3f
Lloh15:
	ldr	w3, [x9]
	b	_init_request
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CSR_REGISTER_BASE,8,3          ; @CSR_REGISTER_BASE
	.comm	_CSR_CONFIG_ROM_END,8,3         ; @CSR_CONFIG_ROM_END
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_LOCAL_BUS,4,2                  ; @LOCAL_BUS
	.comm	_SCODE_100,4,2                  ; @SCODE_100
	.no_dead_strip	_ioctl_send_broadcast_request
.subsections_via_symbols
