	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_bss_load_update_timeout
_get_bss_load_update_timeout:           ## @get_bss_load_update_timeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	movl	(%rcx), %ecx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.3:
	imull	%eax, %ecx
	imulq	$274877907, %rcx, %rax          ## imm = 0x10624DD3
	shrq	$38, %rax
	imull	$1000, %eax, %edi               ## imm = 0x3E8
	shll	$10, %eax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	shrq	$38, %rax
	movl	%eax, (%rsi)
	subl	%edi, %ecx
	shll	$10, %ecx
	movl	%ecx, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_wpa_printf
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BSS Load: Invalid BSS load update configuration (period=%u beacon_int=%u)"

	.no_dead_strip	_get_bss_load_update_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_bss_load_update_timeout
_get_bss_load_update_timeout:           ; @get_bss_load_update_timeout
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldp	x9, x8, [x0]
	ldr	w8, [x8]
	ldr	w3, [x9]
	cmp	w8, #0
	ccmp	w3, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _MSG_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MSG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_wpa_printf
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #0
	mul	w8, w3, w8
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	umull	x10, w8, w9
	lsr	x10, x10, #38
	lsl	w11, w10, #10
	umull	x9, w11, w9
	lsr	x9, x9, #38
	str	w9, [x1]
	mov	w9, #1000
	msub	w8, w10, w9, w8
	lsl	w8, w8, #10
	str	w8, [x2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BSS Load: Invalid BSS load update configuration (period=%u beacon_int=%u)"

	.no_dead_strip	_get_bss_load_update_timeout
.subsections_via_symbols
